export const SYSTEM_INFO = 'SYSTEM_INFO';
import Strings from '@/i18n';
export const WEEK_INFO = [Strings.getLang("dsc_week_full_sun"),Strings.getLang("dsc_week_full_mon"),Strings.getLang("dsc_week_full_tue")
,Strings.getLang("dsc_week_full_wed"),Strings.getLang("dsc_week_full_thu"),Strings.getLang("dsc_week_full_fri"),Strings.getLang("dsc_week_full_sat")];


export const AVAILABLE_CAPACITY = (function() {
    const days = {
        high: ">70%",
        middle: "40~70%",
        low: "10%~40%",
        very_low: "<10%",
    };
    
    return Object.freeze(days);
  })();

  export const getRangeHour = () => {
    const rangeOne = []
    for (let i = 0; i < 24; i++) {
        if (i < 10) {
            rangeOne[i] = '0' + i
        } else {
            rangeOne[i] = i
        }
    }
    return rangeOne
}
export const getRangeMin = () => {
    const rangeTwo = []
    for (let i = 0; i < 60; i++) {
        if (i < 10) {
            rangeTwo[i] = '0' + i
        } else {
            rangeTwo[i] = i
        }
    }
    return rangeTwo
}
export const RangeHourFk = ['12', '01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11']

export const getRunMin = () => {
    const rangeTwo = []
    for (let i = 0; i < 10; i++) {
        if (i < 10) {
            rangeTwo[i] = '0' + i
        } else {
            rangeTwo[i] = i
        }
    }
    return rangeTwo
}
export const getRunSecond = () => {
    const rangeTwo = []
    for (let i = 0; i < 60; i++) {
        if (i < 10) {
            rangeTwo[i] = '0' + i
        } else {
            rangeTwo[i] = i
        }
    }
    return rangeTwo
}